﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagerListAdd.aspx.cs" Inherits="Manage_WebPages_DevManage_Manager" %>

<%@ Register Assembly="Brettle.Web.NeatUpload" Namespace="Brettle.Web.NeatUpload"
TagPrefix="Upload" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加新闻</title>
    <script src="../../../js/jquery.js" type="text/javascript"></script>
    <script src="../../../js/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <link href="../../../js/bootstrap/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="../../../js/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/jscript">
        function closeDialogResize() {
            window.opener.location.reload(); window.close();
        };
    </script>
</head>
<body>
<div class="box span12">
    <div class="box-content">
        <form id="Form1" class="form-horizontal" runat="server">
            <fieldset>
                <div class="control-group">
                    <label class="control-label" for="inputPassword">
                        标题:
                    </label>
                    <div class="controls">
                        <asp:TextBox ID="txttitle" placeholder="" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txttitle"
                                                    ErrorMessage="不能为空">
                        </asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputPassword">
                        内容:
                    </label>
                    <div class="controls">
                        <asp:TextBox ID="txtContent" placeholder="" Height="400px" Width="600px" runat="server"
                                     TextMode="MultiLine">
                        </asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtContent"
                                                    ErrorMessage="不能为空">
                        </asp:RequiredFieldValidator>
                    </div>
                </div>
                <%-- <div class="control-group">
                    <label class="control-label" for="inputPassword">
                        负责人:</label>
                    <div class="controls">
                       <asp:TextBox id="txtFzr" placeholder="负责人" runat="server"></asp:TextBox>
                    </div>
                </div>--%>
                <%--<div class="control-group">
                    <label class="control-label" for="inputPassword">
                        红外质谱:</label>
                    <div class="controls">
                        <input id="File1" type="file" />
                    </div>
                </div>--%>
                <div class="control-group">
                    <label class="control-label" for="inputPassword">
                        附件:
                    </label>
                    <div class="controls">
                        &nbsp;<Upload:InputFile ID="InputFile1" runat="server"/>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputEmail">
                        类别:
                    </label>
                    <div class="controls">
                        <asp:DropDownList ID="dpManagerType" runat="server" Width="270px">
                            <asp:ListItem>通知公告</asp:ListItem>
                            <asp:ListItem>资讯</asp:ListItem>
                            <asp:ListItem>文件下载</asp:ListItem>
                            <asp:ListItem>学术园地</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <asp:Button runat="server" ID="btnok" CssClass="btn btn-primary" Text="添加" OnClick="btnok_Click"/>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <button type="button" class="btn" onclick="closeDialogResize();">
                            关闭
                        </button>
                    </div>
                </div>
            </fieldset>
        </form>
    </div>
</div>
</body>
</html>